package com.remainder.common.core.enums;

/**
 * YN
 *
 * @author remainder
 */
public enum YN {

    YES(0, "是"), NO(1, "否");

    private final Integer code;
    private final String info;

    YN(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

}
